package org.baizhiedu.aspect;

import org.baizhiedu.proxy.User;

/**
 * ClassName: UserService
 * Description:
 * Date: 2022/11/21 AM 11:46:14
 * <p>
 * project: spring5
 * package: org.baizhiedu.proxy
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public interface UserService {

    /**
     * 用户注册
     *
     * @param user 用户
     */
    void register(User user);

    /**
     * 登陆
     *
     * @param name     用户名
     * @param password 密码
     * @return 登陆结果
     */
    boolean login(String name, String password);
}
